
// 通用的网络封装  估计不太能使用
import {request} from './request'

//上传通用
export function ComponentsUpload(data){
    return request({
        url:'/api/boss/common/upload',
        method:'POST',
        data
    })
}

// 上传公司logo
export function ComponentsLogo(data){
    return request({
        url:'/api/boss/company/logo/upload',
        method:'POST',
        data
    })
}


//上传boss图像
export function ComponentsAvatar(data){
    return request({
        url:'/api/boss/boss/avatar/upload',
        method:'POST',
        data
    })
}


//上传 banner图片
export function ComponentsBanner(data){
    return request({
        url:'/api/boss/banner/upload',
        method:'POST',
        data
    })
}